/* @(#)GSManufactureCategoryBean.java    
 *
 * Project: BUS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen     2006-2-13    新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * 对各种序号进行统一管理
 */
public class GSSeqnumManageBean {
    /**
     * 序号种类
     */
    private String gs_seq_category_id; 
    /**
     * 序号种类名称
     */
    private String gs_seq_category_name;
    /**
     * 当前序号
     */
    private int gs_current_seq;
    
	public int getGs_current_seq() {
		return gs_current_seq;
	}
	public void setGs_current_seq(int gs_current_seq) {
		this.gs_current_seq = gs_current_seq;
	}
	public String getGs_seq_category_id() {
		return gs_seq_category_id;
	}
	public void setGs_seq_category_id(String gs_seq_category_id) {
		this.gs_seq_category_id = gs_seq_category_id;
	}
	public String getGs_seq_category_name() {
		return gs_seq_category_name;
	}
	public void setGs_seq_category_name(String gs_seq_category_name) {
		this.gs_seq_category_name = gs_seq_category_name;
	}
    
	public Object process(ResultSet aResultSet) throws SQLException {
		GSSeqnumManageBean tGSSeqnumManageBean = new GSSeqnumManageBean();
		tGSSeqnumManageBean.gs_current_seq = aResultSet.getInt("GS_CURRENT_SEQ");
		tGSSeqnumManageBean.gs_seq_category_id=aResultSet.getString("GS_SEQ_CATEGORY_ID").trim();
		tGSSeqnumManageBean.gs_seq_category_name=aResultSet.getString("GS_SEQ_CATEGORY_NAME").trim();
        return tGSSeqnumManageBean;
    }
}
